RewardedAdLoader

Full-screen rewarded ads.

Parameters

context

The context through which can be accessible the current theme, resources, etc. In particular, it uses the window manager and theme in this context to present its UI.

Constructors

Link copied to clipboard
constructor(context: Context)

Functions

Link copied to clipboard

Cancel active loading of the rewarded ads.

Link copied to clipboard
suspend fun loadAd(adRequest: AdRequest): RewardedAdLoadResult

Starts loading the ad on a background thread. Suspends until the result is available.

fun loadAd(adRequest: AdRequest, listener: RewardedAdLoadListener)

Starts loading the ad on a background thread.